<template>
    <a-carousel arrows autoplay>
        <template #prevArrow>
            <div class="custom-slick-arrow" style="left: 10px; z-index: 1">
                <left-circle-outlined />
            </div>
        </template>
        <template #nextArrow>
            <div class="custom-slick-arrow" style="right: 10px">
                <right-circle-outlined />
            </div>
        </template>
        <div>
            <h3>一款基于RBAC模型的权限管理系统</h3>
            <div>
                <svg-icon name="carousel" width="350px" height="350px"></svg-icon>
            </div>
        </div>
        <div>
            <h3>一款适合快速开发后台权限管理系统的基础框架</h3>
            <div>
                <svg-icon name="carousel2" width="350px" height="350px"></svg-icon>
            </div>
        </div>
        <div>
            <h3>一款能全面满足你功能需求的后台权限管理系统</h3>
            <div>
                <svg-icon name="carousel3" width="350px" height="350px"></svg-icon>
            </div>
        </div>
    </a-carousel>
</template>
<script setup>
</script>
<style scoped>
/* For demo */
:deep(.slick-slide) {
    text-align: center;
    height: calc(100vh - 90px);
    line-height: 160px;
    overflow: hidden;
}

:deep(.slick-arrow.custom-slick-arrow) {
    width: 25px;
    height: 25px;
    font-size: 25px;
    color: #fff;
    background-color: rgba(31, 45, 61, 0.11);
    transition: ease all 0.3s;
    opacity: 0.3;
    z-index: 1;
}

:deep(.slick-arrow.custom-slick-arrow:before) {
    display: none;
}

:deep(.slick-arrow.custom-slick-arrow:hover) {
    color: #fff;
    opacity: 0.5;
}

:deep(.slick-slide h3) {
    color: #fff;
}
</style>